public class PikachuEasy {

	public String check(String word) {
		// "pi", "ka", and "chu".
		String pi = "pi";
		String ka = "ka";
		String chu = "chu";
		String w = word.replaceAll(pi, "").replaceAll(ka, "")
				.replaceAll(chu, "");
		return w.length() == 0 ? "YES" : "NO";
	}

}
